package com.crr.crud;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.crr.bean.PageBean;

import java.util.List;
import java.util.Map;

public interface MyBaseMapper<T> extends ICrud<T>, BaseMapper<T> {
    /**
     * 查询列表
     * @param condition
     * @return
     * @param <P>
     */
    <P extends PageBean> List<Map> query(P condition);
}
